package com.qj.sys.convert;

import com.qj.sys.entity.dto.PageSysUserDto;
import com.qj.sys.entity.po.SysUserPo;
import com.qj.sys.entity.req.PageSysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author dlw
 * @date 2025-05-15 14:04
 */
@Mapper
public interface PageSysUserConvert {
    PageSysUserConvert INSTANCE = Mappers.getMapper(PageSysUserConvert.class);

    PageSysUserDto convertReqToDto(PageSysUserReq sysUserReq);

    SysUserPo convertDtoToPo(PageSysUserDto pageSysUserDto);
}
